body{
    margin:0;
    padding:0;
    font-family:  Calibri,'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
   
}

/*
.globalcont {
    display: flex;
    flex-direction:column;
 }

*/

/* header */
header{
    background-color: lightcoral ;
    opacity: 0.53;
    border: 1px  solid lightgray;
    display: flex;
   
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding-bottom:1%;
    padding-top: 1.5%;
   
  
}
.cv{
    font-family: 'Pacifico', cursive;
    flex-basis:20%;
    
}
.motiv{
    font-family: "Pacifico",cursive;
    flex-basis: 25%;
   
}

.motiv h1{
    font-size: 1.2rem;
    color:black;
    font-family: 'Pacifico', cursive;
   
    line-height:2.5rem;
    text-align: center;
    padding-top: 1%;
   
   
     
}

.photo{
   flex-basis: 25%;
  }

.photo > img{
    width: 100%;
    max-width: 150px;
    height: auto;
}

.pictos{
    flex-basis: 20%;
    display: flex;
    flex-direction: column;
}

.pictos i{
    margin: 5px 5px 0 5px;
}
.pictos p{
    margin: 5px 5px 0 5px;
}

/* pas utilisé
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted red;
  }
  
.tooltip .tooltiptext {
    visibility: hidden;
    width: auto;
   
    background-color: #e7d7d7;
    color: rgb(240, 128, 128);
    text-align: center;
    border-radius: 6px;
    padding: 10px 3px;
    font-family: calibri;
    position: absolute;
    z-index: 1;
  }
.tooltip:hover .tooltiptext {
    visibility: visible;
  }
  */
  
/*  Menu */

#menu{
    display: flex;
    flex-basis : 600px;
    flex-direction: row;
    justify-content: space-around;
    padding: 5px;
    background-color: rgb(255, 254, 240);
   
}

a{
    color:lightcoral;
}

a:hover{
   
    color:lightcoral; 
    text-decoration: none;
    font-weight: 800;
}

button{
    background-color:white;
    height:4vh;
  
}
.scale-content button {
    transition: all 1s ease;
    filter: pinkscale(100%);
}

.scale-content button:hover {
    transform: scale(1.5);
    filter: none;
}

.origin {
    width: 100px;
    height: 40px;
    background-color: white;
    
    transition: all 2s ease;
}
.origin:hover {
    transform: rotate(-90deg);
    transform-origin: 0 0;

}

.origin2 {
    width: 40px;
    height: 40px;
    transition: all 2s ease;
}
.origin2:hover {
    transform: rotate(-360deg);
    transform-origin: 0 0;

}

/*
.rotate {
    width: 100px;
    height: 100px;
    
    transition: all 2s ease;
    cursor: pointer;

}

.rotate p {
    color: #fff;
    padding: 15px
}

.rotate:hover {
    transform: rotate(360deg)
}

.anim {
    overflow: hidden;
    width: 40px;
    height: 40px;
    animation-name: deplacement;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    border-radius: 20%;
}

@keyframes deplacement {

    0% {
        border: 2px solid red;
        margin-left: 0;
        transform: rotate(0deg);
    }

    50% {
        border: 2px solid lightgray;
        margin-left: 300px;
        transform: rotate(180deg);
    }

    100% {
        border: 2px solid #d8a382;
        margin-left: 0;
        transform: rotate(-360deg);
    }

}
*/



/* contenu */
main{
    display: flex;
    flex-basis : 600px;
    flex-direction: column;
    min-height:58vh;
    background-color:rgb(255, 254, 240); /* #ffc0cb*/
    align-items: stretch;
    /*background: url("../fond_ecran.jpg")no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
}




section{
    display: flex;
    flex-basis: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    padding-bottom: 15px;
}
  

.italic{
    font-style: italic;
}


article{
    flex-basis: 28%;
    background-color:white;
    padding: 15px;
    margin-top: 3%;
    margin-bottom :1%;
    border: 1px solid lightgray;
}



article2{
    display: flex;
    flex-basis: 50%;
    flex-direction: row;
    justify-content: space-around;
    align-content: space-around;
    background-color: white;
    padding: 3%;
    margin-top: 3%;
    margin-bottom :1%;
    text-align: justify;
    border: 1px solid lightgray;
   
}

#photoacc{
   margin-right:1%
    }

#presentation{
    margin-right:1%
}


article2 p{
    padding: 0 2% ;
}




h2{
    /*  #d8a38*/
    background-color:lightcoral ; /* #d8a382*/
    color: white;
    padding: 4px 0 4px 12px;
    margin: 0;
    font-size: large;
}

ul{
    padding-left:25px;
    margin-left: 0;
    list-style:none;
}

li::before{
    content: "\25AA"; color: red;
    display: inline-block; width: 1em;
    margin-left: -1em
}

/* footer*/
footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: lightcoral;
    opacity: 0.7;
   
    text-align: center;
    padding:15px;
   
}

#coordonnees{
    display: flex;
    justify-content: center;
    flex-direction: row;
}

footer button{
   
    height:3vh;
    text-decoration: none;
    margin-left: 1vw;
    margin-right: 1vw;
   
}

.white{
    color:white;
}
footer a{
    color:white;
    text-decoration: none;
}

footer a:hover{
    font-weight:600;
    color:white;
    text-decoration: none;
}
footer p{

    margin : 5px 1px;
}
.smallit{
    font-size:x-small;
    font-style: italic;
    margin : 0 ;
    padding: 0;
}

/* responsive*/
@media all and (max-width:740px){
   main{
       flex-direction: column;
   }
   header{
       flex-direction: column;
   }
   .cv h1{
    font-size: 95%;
   }
    
   .motiv h1{
    font-size: 65%;
    line-height: 1.5rem;
   }

   .pictos{
    flex-direction: row;
   }

    
}